package io.renren.modules.avanotes.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 专题计划关系表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-22 10:47:50
 */
@Data
@TableName("special_subject_schedule_relation")
public class SpecialSubjectScheduleRelationEntity implements Serializable {
    private static final long serialVersionUID = 1L;


    public static String CN_ID = "id";
    public static String CN_SPECIAL_ID = "special_id";
    public static String CN_STUDY_ID = "study_id";

    /**
     * 关系id
     */
    @TableId
    private Integer id;
    /**
     * 专题id
     */
    private Integer specialId;
    /**
     * 计划id
     */
    private Long studyId;

    public SpecialSubjectScheduleRelationEntity() {
    }

    public SpecialSubjectScheduleRelationEntity(Integer specialId, Long studyId) {
        this.specialId = specialId;
        this.studyId = studyId;
    }
}
